package app.model;

import javax.persistence.*;

@Entity
@Table(name="user_group")
public enum Group {

	ADMIN(1), USER(2);
	
	@Id
	@Column(name="id",nullable=false)
	private int id;

	private Group(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}
}
